package me.zingon.doc.service;

import me.zingon.doc.model.User;
import me.zingon.doc.model.UserProject;
import java.util.List;

/**
* Created by ZTCGenerator<zingon@aliyun.com> on 2018-5-31.
*/
public interface UserProjectService {

    int insert(UserProject userProject);

    int delete(UserProject userProject);

    int deleteByIds(Integer[] ids);

    int update(UserProject userProject);

    UserProject getById(Integer id);

    List<UserProject> list(UserProject userProject);

    UserProject getByProjectIdWithUser(Integer projectId, User user);
}